package com.boc.langxiang.entity.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Li Guoxi on 2016/6/29.
 */
public class SpecificationBean implements Parcelable {
    private String size;
    private String id;
    private String num;
    private String timeline;

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getTimeline() {
        return timeline;
    }

    public void setTimeline(String timeline) {
        this.timeline = timeline;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.size);
        dest.writeString(this.id);
        dest.writeString(this.num);
        dest.writeString(this.timeline);
    }

    public SpecificationBean() {
    }

    protected SpecificationBean(Parcel in) {
        this.size = in.readString();
        this.id = in.readString();
        this.num = in.readString();
        this.timeline = in.readString();
    }

    public static final Creator<SpecificationBean> CREATOR = new Creator<SpecificationBean>() {
        @Override
        public SpecificationBean createFromParcel(Parcel source) {
            return new SpecificationBean(source);
        }

        @Override
        public SpecificationBean[] newArray(int size) {
            return new SpecificationBean[size];
        }
    };
}
